//这里放所有网址
const base = {
    baseUrl: 'http://127.0.0.1:8088',
    ordersSession:'/orders/ordersSessionDemo/',
    getOrdersSessionDemo:'/orders/setOrdersSessionDemo',
    getNewOrderForm:'/orders/newOrderForm', //这个对应的是newOrderFormServlet的请求
    payForm: '/orders/payForm',//这个对应的是payFormServlet的请求
    getOrderList: '/orders/OrderList', //viewListOrder的请求，直接用session中的account数据。
    handleSendOut: '/orders/sendOut', //处理发货的逻辑
    getCategory:'/Item/Product/',//获取Item列表
    getItem:'/catalog/Item/',
    putItem:'/Item/Item/',
    putCartItem:'/Carts/',
    pullItem:'/Item/newItemForm',
    setSearchResult:'/catalog/search/',
    getSearchResult:'/catalog/search',
    getItemByNothing:'/Product/getItemByNothing',
    setProductSession:'/Product/setProductSession/',
    loginHandleDemo:'/loginDemo2',
    loginHandle:'/login',
    addItemToCart:'/addItemToCart',
    getCart:'/Carts',
}

export default base;